ExternalFilesInMediaLibrary\ExternalFiles\Files D

Total Complexity 181
Dependencies 8
Dependents 14
Total lines 1,765
Lines of code 807
Logical lines of code 433
Comment lines 698
Methods 43
Properties 4

Methods 43

Method Rating Maintainability Complexity Lines of code
add_url()
B
34 17 90
image_downsize()
B
37 17 74
add_media_box_with_file_info()
B
35 15 100
switch_hosting_via_ajax()
A
45 9 44
check_file_availability_via_ajax()
A
49 7 32
get_files()
S
50 6 30
get_imported_external_files()
S
49 5 32
get_attachment_url()
S
57 6 16
get_file_by_title()
S
51 5 27
get_file_by_url()
S
51 5 27
get_attachment_link()
S
57 5 17
disable_attachment_page()
S
57 5 16
change_media_row_actions()
S
57 5 16
check_files()
S
58 5 16
set_file_title()
S
58 5 15
get_image_srcset()
S
61 5 13
import_end()
S
53 4 24
reset_thumbnails_by_request()
S
57 4 16
check_runtime()
S
57 4 15
check_srcset_meta()
S
63 4 11
get_attached_file()
S
64 4 10
optimize_file_title()
S
62 3 11
get_attachment_metadata()
S
66 3 8
add_file_date()
S
63 3 10
delete_file_from_cache()
S
67 3 8
init()
S
49 1 30
add_media_box()
S
66 3 7
log_url_deletion()
S
65 3 8
add_help()
S
54 1 19
use_link_regex()
S
70 2 6
set_password()
S
72 2 6
get_instance()
S
72 2 6
set_login()
S
72 2 6
set_import_marker_for_attachments()
S
64 2 10
__clone()
S
98 1 1
set_import_start_time()
S
80 1 3
get_file()
S
80 1 3
get_import_start_time()
S
82 1 3
get_thumbnail_reset_url()
S
65 1 10
delete_file()
S
76 1 4
get_login()
S
82 1 3
get_password()
S
82 1 3
__construct()
S
98 1 1